from_text

pure static function from_text(value: text, [radix: integer]): integer

Parse a signed text representation of an integer.

Since

0.9.0

Parameters

value

the text to parse

radix

the radix in which to interpret value, defaults to 10

Throws

exception

if the text is ill-formed